#ifndef SIMULATION_H
#define SIMULATION_H

#include <QtGui>
#include <QtSql/QtSql>

#include "piece.h"

namespace Ui {
class Simulation;
}

class Simulation : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit Simulation(QWidget *parent = 0);
    ~Simulation();
    
private slots:
    void on_actualiser_clicked();

private:
    Ui::Simulation *ui;
    QSqlDatabase bdd;
    QVector<Piece*> listePiece;
};

#endif // SIMULATION_H
